package cn.cdeden.system.api;



import cn.cdeden.system.api.domain.bo.RemoteDifyCreateByFileBo;
import cn.cdeden.system.api.domain.bo.RemoteDifyCreateByTextBo;
import cn.cdeden.system.api.domain.bo.RemoteDifyKnowledgeBaseBo;
import cn.cdeden.system.api.domain.vo.RemoteDifyCreateByFileVo;
import cn.cdeden.system.api.domain.vo.RemoteDifyCreateByTextVo;
import cn.cdeden.system.api.domain.vo.RemoteDifyKnowledgeBaseCreateVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * Dify服务
 *
 * @author Michelle.Chung
 */
public interface RemoteDifyService {

    RemoteDifyKnowledgeBaseCreateVo create(RemoteDifyKnowledgeBaseBo bo);

    RemoteDifyCreateByTextVo createByText(String datasetId, RemoteDifyCreateByTextBo bo);

//    RemoteDifyCreateByFileVo createByFile(MultipartFile file, String datasetId, RemoteDifyCreateByFileBo bo);

    RemoteDifyCreateByFileVo createByFile(String storageId, String filName, String datasetId, RemoteDifyCreateByFileBo bo);

    Boolean delete(String datasetId, String documentId);
}
